const express = require('express');
const router = express.Router();

const collectController = require('../controllers/collectController');
const { verifyAuthToken } = require('../middlewares/auth/verifyAuth');

router.get('/list', collectController.getCollectList);
router.post('/create', verifyAuthToken, collectController.createCollect);
router.delete('/delete', verifyAuthToken, collectController.deleteCollect);
router.post('/update', verifyAuthToken, collectController.updateCollect);

module.exports = router;
